const arr = [10,20,30,40]

const popRes = arr.pop()
console.log(prpRes,arr);



const res = [10,20,30].map(parseInt)

// 拆解
[10,20,30].map((num,index) => {
  return parseInt(num,index)
})
